let xxx: string = 'John'
console.log(xxx)
const PI: number = 3.14159265359
let infinityNumber: number = Infinity
console.log(infinityNumber);
let list: Array<number> = [1, 2, 3, 4, 5];
let data: Array<number[]> = [[1, 2], [3, 4], [5, 6]];


function Arr(...args: any) {
    console.log(arguments);
    let arr: IArguments = arguments;
    console.log(arr);

}

Arr(1, 2, 3, 4, 5, 'sss', true, null, undefined, { name: 'John', age: 30 });


interface NumberArray {
    [index: number]: number;
}
let fibonacci: NumberArray = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 3524578, 5702887,]
console.log(fibonacci);

let x: [string, number] = ['hello', 100];
console.log(x);